#ifndef mtcpsink_h
#define mtcpsink_h

#include <stdio.h>
#include "tcp-sink.h"

class mTcpSink : public TcpSink
{
public:
 		mTcpSink(Acker* acker) : TcpSink(acker), openfile(0), pkt_received(0) {}
        	void recv(Packet* pkt, Handler*);
protected:
		int command(int argc, const char*const* argv);
		char tbuf[100];
		FILE *tFile;
		int openfile;
		unsigned long int  pkt_received;
};


#endif
